package com.example.skytakeoutserver.data.dto

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull
import lombok.Getter
import lombok.Setter

@Setter
@Getter
@Schema(description = "用户登录")
data class UserLoginDTO(
    @Schema(description = "code")
    @field:NotNull(message = "code 必传")
    @field:NotBlank(message = "code 不能为空")
    var code: String,
)
